(function(TYPES,typeId){
    function my_c(){
        var that = this;
        this.run=function(a){
            var my_a = a.matches();
            if (my_a) {
                return true;
            };
            var my_b = !a.matches();
            if (my_b) {
                return false;
            };
            that.onComplete(true);
        }
        this.onComplete=function(result){
            return result;
        }
    }    TYPES.registerType(typeId,my_c);
})(RULES,"test19-1");
